package fr.inria.arles.tempManagement.preferencesStore.query;

/**
 * The Interface representing a generic query.
 */
public interface Query {

	/**
	 * Executes the query represented by this Query object.
	 * 
	 * @param args
	 *            the arguments to this Query
	 * @return The result of the query encoded into a string
	 * @throws Exception
	 *             if there is an syntax error in the query
	 */
	String execute(String[] args) throws Exception;
}
